{"version":3,"sources":["editor.js"],"names":["editor_js","BXHTMLEditor","name","start_func","GLOBAL_pMainObj","this","name_cur_obj","pMainObj","arBarHandlersCache","showTooltips4Components","visualEffects","arUndoBuffer","SessionLostStr","iUndoPos","sOnChangeLastType","customToolbars","bDotNet","window","limit_php_access","lastCursorId","bxTags","bLoadFinish","isSubmited","lca","_$lca_only","_$arComponents","_$lca_to_output","fullEdit","sOnChangeLastSubType","sLastContent","bSkipChanges","sFirstContent","BXEditorLoaded","OnBeforeLoad","BXEditorRegister","prototype","CreateElement","BXCreateElement","allowedTaskbars","BXPreloader","func","BX","proxy","GetConfig","params","obj","PreloadTaskbarsData","OnLoad","LoadStep","oCallBack","arTsbSet","SETTINGS","arTaskbarSettings","bShow","show","AddStep","LoadASPXComponents","settings","LoadComponents2","e","_alert","apply","bShowed","bDragging","bNotSaved","bFirstClick","className","arEventHandlers","pDocument","document","bTableBorder","pWnd","pValue","arToolbarSet","toolArea","arTaskbarSet","pParser","BXParser","bEditSource","arConfig","bRenderComponents","renderComponents","bRenderStyleList","styleList_render_style","isNodeInDom","closeWait","bodyParams","body_class","body_id","WindowManager","setStartZIndex","disableKeyCheck","oTransOverlay","BXTransOverlay","edId","fullEditMode","ClearHBF","CACHE_DISPATCHER","sBackUrl","replace","OnLoad_ex","toString","split","arAllEntities","k","arEntities","concat","arEntities_h","create","html","join","innerHTML","undosize","width","style","parseInt","indexOf","height","arToolbars","pForm","BXFindParentByTagName","addAdvEvent","addCustomEvent","AuthFailureHandler","pFrame","getElementById","cEditor","IEplusDoctype","lightMode","browser","IsDoctype","IsIE","setTimeout","position","pEditorFrame","appendChild","props","id","src","frameborder","contentDocument","pEditorDocument","contentWindow","pEditorWindow","pTopToolbarset","BXToolbarSet","BXTaskbarSet","pTaskTabs","ta","pSourceDiv","display","overflowX","overflowY","overflow","pSourceFrame","onkeydown","tabKeyCode","replaceWith","event","keyCode","selection","createRange","text","returnValue","selectionStart","selectionEnd","scrollTop","scrollLeft","value","substring","focus","setSelectionRange","length","onkeyup","onCustomEvent","pBXEventDispatcher","__Add","pASPXParser","OnLoadSystem","OnDragDrop","sEditorMode","sEditorSplitMode","nLastDragNDropElement","pEl","getSelection","selectAllChildren","nLastDragNDropElementFire","OnClick","__ShowTableBorder","pTable","arTableBorderStyles","border","setAttribute","borderCollapse","getAttribute","removeAttribute","pCell","arCells","getElementsByTagName","j","BXSerializeAttr","borderWidth","borderColor","borderStyle","BXUnSerializeAttr","Show","flag","ShowTableBorder","arTables","i","pElement","target","srcElement","nodeType","tagName","toLowerCase","SelectElement","__bMouseDownComp","pOnChangeSelectionTimer","clearTimeout","OnEvent","OnDblClick","oTag","parentNode","nodeName","GetBxTag","tag","OpenEditorDialog","bUseTabControl","OnMouseUp","onblur","onfocus","SaveContent","SetCodeEditorContent","GetContent","SetEditorContent","GetCodeEditorContent","BXStyleParser","Create","oStyles","BXStyles","SetTemplate","arAllowedToolbars","arSet","arToolbarSettings","arToolbarSettings_default","pGlobalToolbar","BXGlobalToolbar","arSourceToolbar","val","toolbarConfig","_handledButtons","_val","n","arGlobalToolbar","push","LineBegin","l","arButton","hideCondition","AddButton","CreateCustomElement","LineEnd","sToolBarId","BXSearchInd","pToolbar","BXToolbar","buttons","docked","arDefaultTBPositions","AddToolbar","SetPosition","x","y","Close","BXCreateTaskbars","SetView","body","SetFullscreen","SetFocus","jsUtils","oBXContextMenu","oBXVM","BXVisualMinimize","ClearPosCache","ar_BXTaskbarS","BXPopupWindow","bCreated","wnd","Get","form","BXAUTOSAVE","Init","ob","data","SetContent","LoadContent","sContent","GetEditorContent","_this","SystemParse","designMode","open","write","close","padding","margin","DOMHandle","contentEditable","__bxedname","addEventListener","FFOnFocus","SetToDocument","SetEvents","OnKeyPress","OnChange","OnEditorEvent","bBorders","Parse","GetHTML","ClearFromHBF","SystemUnParse","AppendHBF","PreparseHeaders","GetHBF","sType","_DisplaySourceFrame","rows","borderTop","rightTaskbar","bottomTaskbar","oTaskbarsInHtmlMode","bShowing","Display","oBXTaskTabs","Refresh","Resize","SetCursorFF","blur","bCheck","PasteAsText","bxhtmlspecialchars","insertHTML","CleanWordText","arParams","spaces","indents","fonts","styles","iter","_text","arFormatTags","RegExp","tableAtr","trtdAtr","IsOpera","PasteWord","LoadTemplateParams","templateID","ajax","post","editor_action_path","BXLang","BXSite","bx_template_params","arTemplateParams","bReload","pTemplateListbox","SelectByVal","SetTemplate_ex","to_template_path","ID","styleTitles","title","strStyleNodes","AppendCSS","sValue","oRng","pasteHTML","collapse","select","IsIE11","PasteHtmlAtCaret","execCommand","selectPastedContent","win","doc","sel","range","getRangeAt","rangeCount","deleteContents","el","createElement","frag","createDocumentFragment","node","lastNode","firstChild","firstNode","insertNode","cloneRange","setStartAfter","setStartBefore","removeAllRanges","addRange","type","originalRange","setEndPoint","OnContextMenu","bNotFrame","arFramePos","pageX","pageY","realX","realY","clientX","clientY","pos","left","top","PreventDefault","executeCommand","commandName","res","queryCommand","queryCommandEnabled","queryCommandValue","queryCommandState","updateBody","extractBodyParams","_body","sParams","arBodyParams_src","match","arBodyParams","$1","onSubmit","cleanNode","oPropertiesTaskbar","pCellProps","OnKeyDown","key","which","ctrlKey","shiftKey","altKey","_bShiftPressed","OnCtrlV","arUsedId","CheckChilds","substr","newId","SetBxTag","copyObj","pComponent2Taskbar","SetParams","GetParams","OnPaste","clipboardHTML","GetClipboardHTML","AutoDetectWordContent","RE_MS_WORD","test","confirm","BX_MESS","MaybeTextFromWord","bNotFocus","cancelBubble","oDiv","visibility","oRange","createTextRange","moveToElementText","sData","bEdit","oPublicDialog","CheckSubdialogs","oBXEditorDialog","isOpen","menu","IsVisible","PopupHide","toUpperCase","RemoveElements","arParentElement","arAttributes","arChildren","children","elChild","bEqual","attrName","attrValue","styleValue","re","arr","exec","styleName","cssText","attrNalue","insertAdjacentHTML","parentElement","removeChild","WrapSelectionWith","oSelection","sTag","arTags","arRes","insertBefore","RidOfNode","pNode","bHard","attributes","util","trim","arNodes","childNodes","GetToolbarSet","GetTaskbarSet","oSel","empty","CollapseSelection","collapseToEnd","GetSelectedNode","bOnlyNode","IsIE9","s","commonParentElement","innerText","container","startContainer","endOffset","startOffset","GetSelectionObjects","temp","commonAncestorContainer","OptimizeHTML","str","bReplasing","replaceEmptyTags","b1","b2","b3","b4","GetSelectionObject","constructor","Array","root","BXFindParentElement","CreateEditorElement","sTagname","arStyles","sTagName","ar_CustomElementS","sParamName","_Create","AddEventHandler","eventName","pEventHandler","pObject","FullResize","ws","GetWindowInnerSize","__fswindow","innerWidth","innerHeight","bFull","addClass","__oldSize","scrollTo","_bxonresize","onresize","removeClass","offsetHeight","pParWnd","pParentWnd","IEplusDoctypePatchSizes","_SetTmpClass","bFullscreen","arTaskbars","ParseStyles","_FuncOnChange","subtype","_OnChange","pOnChangeTimer","IsChanged","firstContent","curContent","xx","lastUndoItem","getBookmark","content","cnt","reverse","SetXXdo","arUndoInfo","moveToBookmark","UndoStatus","Undo","RedoStatus","Redo","Clean","pLoaderFrame","evname","lineNumCont","IEPatchSizesHandler","tbs2","tbs3","isNaN","edHeight","centerRowH","Math","round","tb","titleCell","dataCell","bH","tH","pBottomColumn","dH","cells","o","btt","OnSpellCheck","alreadyCheck","SpellCheck_MS","usePspell","useCustomSpell","alert","SpellCheckNotInstalled","SaveConfig","sTarget","edname","tooltips","visual_effects","render_components","settings_page_path","RestoreConfig","RestoreSettingsMess","GetTaskbarConfig","arTaskbarSettings_default","set","active","CheckTaskbar","taskbar","BXTaskbar","bDeleted","random","Add2BxTag","arAuthResult","_authShowed","auth_callback","__authFailureHandlerCallback","authDialog","CAuthDialog","content_url","auth_result","callback","delegate","__authFailureHandlerCallbackClose","InsertHtmlEx","timeout","pDoc","pTmp","BXContextMenuOnclick","removeEvent","sStyles","template_path","templatePath","GetStyles","sFilter","pHeads","cur","xStyle","styleSheets","createTextNode","ready","BXEditorLoad"],"mappings":"AACA,IAAIA,UAAY,KAQhB,SAASC,aAAaC,EAAMC,GAE3BC,gBAAgBF,GAAQG,KACxBC,aA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